package com.typhoon.jdbcTemplateHA.service.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.typhoon.jdbcTemplateHA.dao.UserDao;
import com.typhoon.jdbcTemplateHA.entity.User;
import com.typhoon.jdbcTemplateHA.service.UserService;

@Service("userService")
public class UserServiceImpl implements UserService {

	@Resource
	UserDao userDao;
	
	@Override
	public List<User> selectAll() {
		return this.userDao.selectAll();
	}

}
